Ext.onReady(function(){
	Ext.BLANK_IMAGE_URL = '../ext/resources/images/default/s.gif';
    Ext.QuickTips.init();
    //Ext.form.Field.prototype.msgTarget = 'side';
	
	//noformat
    var oRentalForm = new view.RentalForm(), 
		oRentalFormBacking = oRentalForm.m_oBackingObject;
	//format
    oRentalFormBacking.render("rental-form");
    
    var oDependendLink = Ext.get("dependend-link");
    oDependendLink.on("click", handleAddDependend, this);
    
    
    function handleAddDependend(){
        oRentalForm.oAboutYourself.addDependItems();
    }
	
	var oSideBar = new view.SideBar();
    
});
